import { useRouter } from 'vue-router'
export default () => {
    const $router = useRouter();
    const jumpDetail = (id) => {
        console.log(id)
        $router.push(`/detail?id=${id}`)
    }
    return { jumpDetail };
}